//
//  ConsultDocListViewController.h
//  安好
//
//  Created by lianchuang on 14/11/12.
//  Copyright (c) 2014年 lianchuangbrother. All rights reserved.
//
#define RGB(r, g, b)    [UIColor colorWithRed:(r)/255.f green:(g)/255.f blue:(b)/255.f alpha:1.f]

#import "BaseViewController.h"
#import <CoreLocation/CoreLocation.h>
#import "FKSearchBar.h"
#import "LeftViewCell.h"
@interface ConsultDocListViewController : BaseViewController<UITableViewDataSource,UITableViewDelegate,CLLocationManagerDelegate>

@property (strong, nonatomic) IBOutlet UITableView *tableview;
@property (strong, nonatomic) CLLocationManager *locationManager;
@property (strong, nonatomic) NSString *latitude;
@property (strong, nonatomic) NSString *longitude;

@property (nonatomic, strong) NSString *departmentId;
@property (nonatomic, strong) NSString *provinceid;
@property (nonatomic, strong) NSString *cityid;
@property (nonatomic, strong) NSString *level;
@property (nonatomic, strong) NSString *sort;
@property (nonatomic, strong) NSString *doclevelid;
@property (nonatomic, strong) NSString *docscitypeid;
@property (nonatomic, strong) NSString *doctypeid;
@property (nonatomic, strong) NSString *order;
@property (nonatomic, assign) NSInteger page;
@property (nonatomic, strong) NSMutableArray *doctorsArrays;
@property (nonatomic, assign) BOOL isFromConsult;

//********
@property (nonatomic, strong) UIView *maskViews;
@property (nonatomic, strong) UITableView *leftTableView;
@property (nonatomic, strong) UITableView *rightTableView;

// 存放地区
@property (nonatomic, strong) NSMutableArray *rightTableArr;
@property (nonatomic, strong) NSString *seekAddrStr;

// 存放左边的类型 和右侧的等级
@property (nonatomic, strong) NSArray *leftDataType;
@property (nonatomic, strong) NSArray *levelArr;
@property (nonatomic, strong) NSString *dengJiStr;

//  职务
@property (nonatomic, strong) NSArray *positionArr;
@property (nonatomic, strong) NSString *positionStr;
@property (nonatomic, strong) NSArray *doclevilid;
@property (nonatomic, strong) NSString *docleviStr;

//  记录当前的cell
@property (nonatomic, strong) UITableViewCell *rightTableCell;
@property (nonatomic, strong) LeftViewCell *leftTableCell;
// 存放第一次加载时默认的cell(只执行一次)
@property (nonatomic, strong) NSMutableArray *indexArr;
@property (nonatomic, strong) NSString *dengjiNum;
@property (nonatomic, strong) NSArray *dengjiNumArr;
@property (nonatomic, strong) NSArray *sortArray;
@property (nonatomic, strong) NSArray *sortIndex;
@end
